Image processing apparatus, image processing method, and non-transitory computer-readable storage medium for generating intermediate data based on print data

ABSTRACT

An image processing apparatus comprises a generation unit configured to generate, based on print data, pieces of information to be used for generating intermediate data based on the print data, and store the pieces of information in an external storage device connected to the image processing apparatus, and a rendering unit configured to generate the intermediate data using the pieces of information, and generate a raster image by performing rendering based on the generated intermediate data.

CROSS REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No.17/148,936, filed on Jan. 14, 2021, which claims the benefit of andpriority to Japanese Patent Application No. 2020-010327, filed Jan. 24,2020, each of which is hereby incorporated by reference herein in theirentirety.

BACKGROUND OF THE INVENTION Field of the Invention

The present invention relates to generation of intermediate data basedon print data.

Description of the Related Art

A printer device such as a large-format printer that uses particularlylarge size print sheets may encounter a case where printing turns out tobe difficult even when a print job is input. Particularly, in a casewhere a very large image is embedded or a large amount of graphic dataor the like are involved in a page of the job, memory shortage may occurin the course of processing the page, preventing continuation of theprocessing. Generally, printer drivers or printer controllers are allconfigured to perform processing with predefined hardware resources(e.g., there is a limit on the memory allocated to a process), andtherefore it is necessary to take some measures.

Conventionally, there is known a method described in Japanese PatentLaid-Open No. 2011-61555 and Japanese Patent Laid-Open No. 06-261202 asan example of measures to be taken when memory shortage occurs duringprocessing of a print job, preventing continuation of processing.Japanese Patent Laid-Open No. 2011-61555 discloses a method such asreducing data size by a processing program that performs, at the timepoint when memory shortage occurs (such as failure of memoryallocation), image formation (rendering) using internal data(intermediate data or the like) recorded in the memory so as to releasethe data accumulated until occurrence of memory shortage. In addition tosuch techniques, there is also proposed a method for reducing(flattening) date size by composition processing (Japanese PatentLaid-Open No. 2018-152113 and Japanese Patent Laid-Open No.2017-194932).

A configuration example of a conventional printing system will bedescribed, referring to the block diagram of FIG. 2A. The printingsystem illustrated in FIG. 2A includes a computer 200 and an imageprocessing apparatus 100.

A generation unit 201 included in the computer 200 generates print data203 from print target data 202. The image processing apparatus 100includes an input unit 204, an analysis unit 205, a processing unit 206,and an output unit 207. The input unit 204 receives the print data 203generated by the generation unit 201. The analysis unit 205 analyzes theprint data 203 received by the input unit 204, and extracts a drawinginstruction. The processing unit 206 includes a generation unit 208 anda rendering unit 209. The generation unit 208 extracts drawinginformation 210 and an image 211 from the drawing instruction extractedby the analysis unit 205 and generates intermediate data. Whengenerating the intermediate data, the generation unit 208 generatesinternal data for generation of the intermediate data. Such data areusually stored in a RAM in the image processing apparatus 100. FIG. 4illustrates how memory usage is reduced by flattening. Performingflattening reduces memory usage, thereby allowing continuation ofprocessing.

As has been described above, data reduction is performed by adegeneration process (such as a process that holds internal data to beused for processing intermediate data as a structure similar to theintermediate data to be eventually spooled-out, and integrates theinternal data by a process called flattening when memory shortageoccurs) of the internal memory to continue image processing. However,such a scheme requires execution of flattening again as available memorygradually decreases. In the worst case, flattening is repeated.

FIG. 6 is a graph showing an example of memory shortage as a result ofrepeated flattening. The vertical axis indicates usage (GB) of thememory, and the horizontal axis indicates processing time (minutes).Here, the maximum value of 2 GB along the vertical axis is assumed to bethe maximum capacity of the memory in this example. Flattening hasoccurred three times to reduce memory usage, and the memory usage hasreached the maximum value of 2 GB at the processing time T, resulting inmemory shortage. There exists a case where memory shortage occurs evenwhen flattening has been performed as described above, preventingcontinuation of processing.

SUMMARY OF THE INVENTION

The present invention provides a technique that, even for such printdata that causes memory shortage and prevents continuation of imageprocessing, allows for generation of intermediate data based on theprint data.

According to the first aspect of the present invention, there isprovided an image processing apparatus comprising: a generation unitconfigured to generate, based on print data, pieces of information to beused for generating intermediate data based on the print data, and storethe pieces of information in an external storage device connected to theimage processing apparatus; and a rendering unit configured to generatethe intermediate data using the pieces of information, and generate araster image by performing rendering based on the generated intermediatedata.

According to the second aspect of the present invention, there isprovided an image processing method performed by an image processingapparatus, comprising: generating, based on print data, pieces ofinformation to be used for generating intermediate data based on theprint data, and storing the pieces of information in an external storagedevice connected to the image processing apparatus; and generating theintermediate data using the pieces of information, and generating araster image by performing rendering based on the generated intermediatedata.

According to the third aspect of the present invention, there isprovided a non-transitory computer-readable storage medium having storedtherein a computer program for causing a computer of an image processingapparatus to function as: a generation unit configured to generate,based on print data, pieces of information to be used for generatingintermediate data based on the print data, and store the pieces ofinformation in an external storage device connected to the imageprocessing apparatus; and a rendering unit configured to generate theintermediate data using the pieces of information, and generate a rasterimage by performing rendering based on the generated intermediate data.

Further features of the present invention will become apparent from thefollowing description of exemplary embodiments with reference to theattached drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram illustrating a hardware configuration exampleof a computer apparatus;

FIG. 2A is a block diagram illustrating a configuration example of aconventional printing system;

FIG. 2B is a block diagram illustrating a configuration example of aprinting system according to a first embodiment;

FIG. 3 illustrates a configuration example of internal data;

FIG. 4 illustrates how memory usage is reduced by flattening;

FIG. 5 is a flowchart showing an operation of an image processingapparatus 100;

FIG. 6 is a graph showing an example of memory shortage that occurs as aresult of repeated flattening;

FIG. 7A is a flowchart showing an operation of the image processingapparatus 100;

FIG. 7B is a flowchart showing an operation of the image processingapparatus 100;

FIG. 8A is a flowchart showing an operation of the image processingapparatus 100;

FIG. 8B is a flowchart showing an operation of the image processingapparatus 100;

FIG. 9 illustrates an example of performance improvement by replacingstep S2002 with step S3000;

FIG. 10A is a flowchart showing an operation of the image processingapparatus 100; and

FIG. 10B is a flowchart showing an operation of the image processingapparatus 100.

DESCRIPTION OF THE EMBODIMENTS

Hereinafter, embodiments will be described in detail with reference tothe attached drawings. Note, the following embodiments are not intendedto limit the scope of the claimed invention. Multiple features aredescribed in the embodiments, but limitation is not made to an inventionthat requires all such features, and multiple such features may becombined as appropriate. Furthermore, in the attached drawings, the samereference numerals are given to the same or similar configurations, andredundant description thereof is omitted.

First Embodiment

First, there will be described a configuration example of a printingsystem according to the present embodiment, referring to the blockdiagram of FIG. 2B. As illustrated in FIG. 2B, the printing systemaccording to the present embodiment includes a computer 200 and an imageprocessing apparatus 100. The computer 200 and the image processingapparatus 100, being connected to a wireless and/or wired network, areconfigured to allow for data communication with each other via thenetwork.

First, the computer 200 will be described. Print target data 202 is datato be printed, such as images or texts. A generation unit 201 generatesprint data 203 from the print target data 202 and outputs the generatedprint data 203 to the image processing apparatus 100.

Next, the image processing apparatus 100 will be described. An inputunit 204 acquires the print data 203 output from the computer 200. Ananalysis unit 205 analyzes the print data 203 and generates a drawinginstruction (drawing command).

A processing unit 250 includes a generation unit 251 and a renderingunit 252. The generation unit 251 is configured to extract drawinginformation 210 and an image 211 from the drawing command and generateintermediate data. The generation unit 251 stores, as appropriate,pieces of information to be used for generating intermediate data in anHD (hard disk) 114 which is an external storage device, and generatesintermediate data using the stored pieces of information. The pieces ofinformation may be referred to as internal data in the following. Therendering unit 252 generates a raster image by performing renderingbased on the intermediate data generated by the generation unit 251.

An output unit 207 outputs the raster image generated by the renderingunit 252 as output data 212. The output destination of the output datais not limited to a specific output destination. For example, the outputunit 207 may output the output data 212 to a printing unit providedinside or outside the image processing apparatus 100, and print imagesor characters based on the output data 212 on a printing medium such aspaper. The output unit 207 may output the output data 212 to a memoryprovided inside or outside the image processing apparatus 100.

Each of the functional units of the image processing apparatus 100described above may be implemented in the form of hardware, and they mayalso be implemented in the form of software (computer program). In thelatter case, a computer apparatus that can execute the computer programmay be applied to the image processing apparatus 100. Next, the lattercase will be described. A hardware configuration example of such acomputer apparatus will be described, referring to the block diagram ofFIG. 1.

A CPU 101 performs various processes using computer programs and datastored in a RAM 102 or a ROM (font ROM 103, program ROM 104, and dataROM 105). Accordingly, the CPU 101 controls the operation of the entireimage processing apparatus 100 as well as executing or controllingrespective processes described as being performed by the imageprocessing apparatus 100. Although the CPU 101 of the present embodimentis assumed to be a multi-core CPU here, the image processing apparatus100 may include a plurality of CPUs.

The RAM 102 includes an area for storing computer programs and dataloaded from the ROM (font ROM 103, program ROM 104, and data ROM 105) orthe HD 114. Furthermore, the RAM 102 has an area for storing computerprograms and data received from the outside (e.g., the computer 200described above) by the communication unit 110. The RAM 102 alsoincludes a work area used when the CPU 101 executes various processing.In this way, the RAM 102 may provide various areas as appropriate.

The font ROM 103 has stored therein various font data. The program ROM104 has stored therein a computer program that causes the CPU 101 toexecute or control respective processes described as being executed bythe image processing apparatus 100. The data ROM 105 has stored thereindata that causes the CPU 101 to execute and control respective processesdescribed as being executed by the image processing apparatus 100.

A KBC (keyboard controller) 107 notifies the CPU 101 of instructions andinformation input via a user operation on a KB 112. Here, the userinterface usable on the image processing apparatus 100 is not limited toa keyboard, and a mouse, a touch panel screen, or the like are alsoapplicable.

A display control unit 108 performs display control of a display unit113. The display unit 113, being a display device with a display screensuch as a liquid crystal screen or a touch panel screen, can displayresults of processing by the CPU 101 in the form of images, characters,or the like. Here, the display unit 113 may be a projection device suchas a projector that projects images or characters.

An HD control unit 109 controls reading and writing of computer programsand data from and to the HD 114. The HD 114 can store various computerprograms and data. Here, the HD 114 is an example of an external storagedevice connected to the image processing apparatus 100, and any othertype of memory device may also be used.

The communication unit 110 performs data communication with the computer200. The CPU 101, the RAM 102, the font ROM 103, the program ROM 104,the data ROM 105, the KBC 107, the display control unit 108, the HDcontrol unit 109, and the communication unit 110 are all connected to abus 106.

Next, there will be described an operation of the image processingapparatus 100, in accordance with the flowchart of FIG. 5. The processat step S1000 is performed by the analysis unit 205. At step S1000, theanalysis unit 205 analyzes the print data 203, and generates a drawinginstruction (drawing command) for each page.

The processes at steps S1001 to S1008 are performed by the generationunit 251. At step S1001, the generation unit 251 generates, from adrawing command of a page, filling information related to filling of thepage, and stores the generated filling information in the HD 114.

At step S1002, the generation unit 251 determines whether or not thenumber of pieces of filling information in the page generated at stepS1001 has exceeded a threshold value. In a case where, as a result ofthe determination, the number of pieces of filling information in thepage generated at step S1001 has exceeded the threshold value, theprocessing proceeds to step S1004, or the processing proceeds to stepS1003 in a case where the number of pieces of filling information in thepage generated at step S1001 has not exceeded the threshold value.

At step S1003, the generation unit 251 determines whether or not thereremains a drawing command of a page yet to be subjected to step S1001.In a case where, as a result of the determination, there remains adrawing command of a page yet to be subjected to step S1001, theprocessing proceeds to step S1001. On the other hand, in a case wherethere remains no drawing command of a page yet to be subjected to stepS1001, the processing proceeds to step S1004.

At step S1004, the generation unit 251 generates, from a drawing commandof a page, composition information related to composition of objects onthe page, and stores the generated composition information in the HD114.

At step S1005, the generation unit 251 generates, from a drawing commandof a page, edge information related to edges of objects on the page, andstores the generated edge information in the HD 114.

The present embodiment thus stores, as internal data in the HD 114, thepieces of information (filling information, composition information, andedge information) to be used for generating intermediate data from adrawing command A configuration example of the internal data isillustrated in FIG. 3. As illustrated in FIG. 3, internal data 300includes edge information 213, composition information 214, and fillinginformation 215.

At step S1005 g, the generation unit 251 generates intermediate data ofthe page, referring to the aforementioned internal data stored in the HD114 as appropriate, and stores the generated intermediate data in the HD114.

At step S1006, the generation unit 251 determines whether or not thereremains a drawing command of a page yet to be subjected to step S1001.In a case where, as a result of the determination, there remains adrawing command of a page yet to be subjected to step S1001, theprocessing proceeds to step S1001. On the other hand, in a case wherethere remains no drawing command of a page yet to be subjected to stepS1001, the processing proceeds to step S1007.

At step S1007, the generation unit 251 determines whether or not thereexists a plurality of sets of generated intermediate data. In a casewhere there exists a plurality of sets of generated intermediate data asa result of the determination, the processing proceeds to step S1008, orthe processing proceeds to step S1009 in a case where there exists asingle set of intermediate data.

At step S1008, the generation unit 251 merges the “plurality of sets ofintermediate data” stored in the HD 114 into a single set ofintermediate data and stores, in the HD 114, the single set ofintermediate data generated by the merging.

At step S1009, the rendering unit 252 generates a raster image byperforming rendering using the intermediate data stored in the HD 114.The generated raster image is output by the output unit 207 to anappropriate output destination as the output data 212.

Second Embodiment

In the following embodiments including the present embodiment, only theparts different from the first embodiment will be described, assumingthat the other parts are similar to the first embodiment unlessotherwise stated below. The image processing apparatus 100 according tothe present embodiment has a first mode for generating intermediate datawhile holding the internal data in the memory (RAM 102) withoutevacuating the internal data to the HD 114, and a second mode forevacuating the internal data to the HD 114 to generate the intermediatedata. Subsequently, the image processing apparatus 100 operates in thefirst mode from the first page and, in a case where memory shortage hasoccurred at a page midway through the job processing, switches tooperation in the second mode with regard to the page. Although, in thepresent embodiment, the RAM 102 is referred to as a “memory”, the“memory” may be other types of volatile memory.

The operation of the image processing apparatus 100 according to thepresent embodiment will be described, referring to the flowcharts ofFIGS. 7A and 7B. At the start of the process according to the flowchartsof FIGS. 7A and 7B, the image processing apparatus 100 is set to operatein the first mode.

At step S1000 a, the analysis unit 205 analyzes the print data 203, andgenerates a drawing instruction (drawing command) for each page. At stepS1001 a, the generation unit 251 generates, from a drawing command of apage, filling information related to filling of the page, and holds thegenerated filling information in the RAM 102.

At step S1002 a, the generation unit 251 determines whether or not thenumber of pieces of filling information in the page generated at stepS1001 a has exceeded a threshold value. In a case where, as a result ofthe determination, the number of pieces of filling information in thepage generated at step S1001 a has exceeded the threshold value, theprocessing proceeds to step S1004 a. On the other hand, in a case wherethe number of pieces of filling information in the page generated atstep S1001 a has not exceeded the threshold value, the processingproceeds to step S1003 a.

At step S1003 a, the generation unit 251 determines whether or not thereremains a drawing command of a page yet to be subjected to step S1001 a.In a case where, as a result of the determination, there remains adrawing command of a page yet to be subjected to step S1001 a, theprocessing proceeds to step S1001 a. On the other hand, in a case wherethere remains no drawing command of a page yet to be subjected to stepS1001 a, the processing proceeds to step S1004 a.

At step S1004 a, the generation unit 251 generates, from a drawingcommand of the page, composition information related to the compositionof objects on the page, and holds the generated composition informationin the RAM 102.

At step S1005 a, the generation unit 251 generates, from a drawingcommand of the page, edge information related to edges of objects on thepage and holds the generated edge information in the RAM 102.

At step S1005 g, the generation unit 251 generates intermediate data ofthe page, referring to the internal data held in the RAM 102 asappropriate, and stores the generated intermediate data in the RAM 102.

At step S2000, the generation unit 251 determines whether or not thesize of the intermediate data generated at step S1005 g has reached orexceeded a threshold value. In a case where, as a result of thedetermination, the size of the intermediate data generated at step S1005g has reached or exceeded the threshold value, the processing proceedsto step S2001 a. On the other hand, in a case where the size of theintermediate data generated at step S1005 g has not reached thethreshold value, the processing proceeds to step S2002 a. At step S2001a, the generation unit 251 performs the aforementioned flattening of theintermediate data generated at step S1005 g.

At step S2002 a, the generation unit 251 checks that there is no memoryshortage (CURRENT_USAGE). In a case where, as a result of the checking,there is memory shortage (where no more intermediate data or internaldata can be stored in the memory area allocated to the RAM 102), theprocessing proceeds to step S2100. At the time point when the processinghas proceeded to step S2100, the image processing apparatus 100 is setto operate in the second mode.

On the other hand, in a case where there is no memory shortage (whereintermediate data or internal data can still be stored in the memoryarea allocated to the RAM 102), the processing proceeds to step S1006 a.

At step S1006 a, the generation unit 251 determines whether or not thereremains a drawing command of a page yet to be subjected to step S1001 a.In a case where, as a result of the determination, there remains adrawing command of a page yet to be subjected to step S1001 a, theprocessing proceeds to step S1001 a. On the other hand, in a case wherethere remains no drawing command of a page yet to be subjected to stepS1001 a, the processing proceeds to step S1007 a.

At step S1007 a, the generation unit 251 determines whether or not thereexists a plurality of sets of generated intermediate data. In a casewhere, as a result of the determination, there exists a plurality ofsets of generated intermediate data, the processing proceeds to stepS1008 a, or the processing proceeds to step S2003 a in a case wherethere exists a single set of intermediate data.

At step S1008 a, the generation unit 251 merges the “plurality of setsof intermediate data” stored in the HD 114 into a single set ofintermediate data and stores, in the HD 114, the single set ofintermediate data generated by the merging.

At step S2003 a, the generation unit 251 determines whether or not toperform flattening on the intermediate data. In a case where, as aresult of the determination, flattening is to be performed on theintermediate data, the processing proceeds to step S2004 a, or theprocessing proceeds to step S1009 a in a case where flattening is not tobe performed on the intermediate data.

At step S2004, the generation unit 251 performs flattening of theintermediate data. At step S1009 a, the rendering unit 252 generates araster image by performing rendering using the intermediate data storedin the HD 114. The generated raster image is output by the output unit207 to an appropriate output destination as the output data 212.

At step S2100, the CPU 101 performs initialization of image processing.The initialization includes the processes of setting the imageprocessing apparatus 100 to operate in the second mode, and deleting(clearing) the intermediate data held in the RAM 102.

At step S2101, the CPU 101 changes the storage destination of theinternal data from the RAM 102 to the HD 114. Subsequent processes aresimilar to those of the first embodiment (FIG. 5), and thereforedescription thereof will be omitted.

Third Embodiment

In the second embodiment, upon occurrence of memory shortage in the RAM102, the operation switches from the first mode to the second mode. Inthe present embodiment, the operation switches from the first mode tothe second mode when a threshold time period has elapsed since the startof the intermediate data generation process.

The operation of the image processing apparatus 100 according to thepresent embodiment will be described, referring to the flowcharts ofFIGS. 8A and 8B. In the following, only the parts different from theprocessing in accordance with the flowcharts of FIGS. 7A and 7B will bedescribed, assuming that the other parts are similar to the secondembodiment unless otherwise stated below.

At step S3000, the generation unit 251 determines whether or not theelapsed time since the start of the intermediate data generation process(time measured by a timer function provided in the CPU 101) has reachedor exceeded a threshold time period (threshold value). In a case where,as a result of the determination, the elapsed time since the start ofthe intermediate data generation process has reached or exceeded thethreshold time period, the processing proceeds to step S2100. On theother hand, in a case where the elapsed time since the start of theintermediate data generation process has not reached the threshold timeperiod, the processing proceeds to step S1006 a.

Here, the timing of starting measurement of the “elapsed time since thestart of the intermediate data generation process” is not limited to aspecific timing, and may be, for example, the timing of starting theprocess of step S1000 a, or the timing of starting the process of stepS1001 a.

FIG. 9 illustrates an example of performance improvement by replacingstep S2002 with step S3000. Similarly to FIG. 4, the vertical axisindicates the usage (GB) of the RAM 102, and the horizontal axisindicates the processing time (minutes). Here, the maximum value of 2 GBalong the vertical axis is assumed to be the maximum capacity of the RAM102. The predetermined threshold time period is assumed here to be tminutes.

In FIG. 6, memory usage has reached the maximum value of 2 GB at a timepoint T of the processing time, resulting in memory shortage andtransition to step S2100. On the other hand, in FIG. 9, it is possibleto transition to step S2100 at an earlier timing than in FIG. 6, whichallows for reducing the total printing time.

As has been described above, transitioning from the first mode to thesecond mode in accordance with a predetermined threshold time period talso allows for reducing the total printing time for print data thattakes time due to flattening to reach memory shortage of the RAM 102.

Fourth Embodiment

The image processing apparatus 100 can also operate in a multi-threadmanner. The operation of the image processing apparatus 100 according tothe present embodiment will be described in accordance with theflowcharts of FIGS. 10A and 10B. In the following, only the partsdifferent from the processing in accordance with the flowcharts of FIGS.7A and 7B will be described, assuming that the other parts are similarto the second embodiment unless otherwise stated below.

At step S4000 a, the CPU 101 sets multi thread operation. Accordingly,in the first mode, the image processing apparatus 100 operates in amulti-thread manner. At step S4000 b, the CPU 101 sets single-threadoperation. Accordingly, in the second mode, the image processingapparatus 100 operates in a single-thread manner.

When operating in a multi-thread manner, there is a tendency to use theRAM 102 more than when operating in a single-thread manner. Therefore,it is also possible to operate in a single-thread manner in the secondmode to save the capacity of the RAM 102 so as to prevent memoryshortage in the RAM 102.

In addition, both the RAM 102 and the HD 114 may be used for storing theinternal data. For example, it is also conceivable to store, in the HD114, drawing instructions (e.g., drawing an object including a largeimage, etc.) that is apt to cause occurrence of memory shortage of theRAM 102, and store the other drawing instructions in the RAM 102.

With regard to the timing of storing in the HD 114, the use situationsof the RAM 102 is checked in real time during the generation process ofthe intermediate data and, upon having confirmed that there is noproblem, the internal data is stored in the RAM 102 and the processingcontinues thereafter. Otherwise, in a case where it is determined thatmemory shortage is likely to occur, the storage destination may bechanged to the HD 114.

Note that the specific numerical values used in the aforementionedembodiments, execution timings of the processes, execution order of theprocesses, or the like have been taken as examples to provide specificdescriptions and the embodiments are not intended to be limited to theseexamples.

Further, some or all of the embodiments described above may be used incombination as appropriate. Further, some or all of the embodimentsdescribed above may be used in a selective manner.

Other Embodiments

Embodiment(s) of the present invention can also be realized by acomputer of a system or apparatus that reads out and executes computerexecutable instructions (e.g., one or more programs) recorded on astorage medium (which may also be referred to more fully as a‘non-transitory computer-readable storage medium’) to perform thefunctions of one or more of the above-described embodiment(s) and/orthat includes one or more circuits (e.g., application specificintegrated circuit (ASIC)) for performing the functions of one or moreof the above-described embodiment(s), and by a method performed by thecomputer of the system or apparatus by, for example, reading out andexecuting the computer executable instructions from the storage mediumto perform the functions of one or more of the above-describedembodiment(s) and/or controlling the one or more circuits to perform thefunctions of one or more of the above-described embodiment(s). Thecomputer may comprise one or more processors (e.g., central processingunit (CPU), micro processing unit (MPU)) and may include a network ofseparate computers or separate processors to read out and execute thecomputer executable instructions. The computer executable instructionsmay be provided to the computer, for example, from a network or thestorage medium. The storage medium may include, for example, one or moreof a hard disk, a random-access memory (RAM), a read only memory (ROM),a storage of distributed computing systems, an optical disk (such as acompact disc (CD), digital versatile disc (DVD), or Blu-ray Disc (BD)™),a flash memory device, a memory card, and the like.

While the present invention has been described with reference toexemplary embodiments, it is to be understood that the invention is notlimited to the disclosed exemplary embodiments. The scope of thefollowing claims is to be accorded the broadest interpretation so as toencompass all such modifications and equivalent structures andfunctions.

This application claims the benefit of Japanese Patent Application No.2020-010327, filed Jan. 24, 2020 which is hereby incorporated byreference herein in its entirety.

1. An image processing apparatus comprising: a generation unitconfigured to generate, based on print data, pieces of information to beused for generating intermediate data based on the print data, and storethe pieces of information in an external storage device connected to theimage processing apparatus; and a rendering unit configured to generatethe intermediate data using the pieces of information, and generate araster image by performing rendering based on the generated intermediatedata. 2.-10. (canceled)